package main

import (
	"fmt"
	"strconv"
)

func main() {
	s := "123"
	i, e := strconv.Atoi(s)
	if e != nil {
		fmt.Println("error. ", e)
		return
	}
	fmt.Println("i =", i)
}
